﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Text;

namespace Tingjian.gas.service.BaseRequest
{
    public class PageRequest
    {
        /// <summary>
        /// 从第*条数据开始
        /// </summary>
        [DefaultValue(1)]
        [Range(0, int.MaxValue)]
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 返回数据数 [每页条数]
        /// </summary>
        [DefaultValue(10)]
        public int PageSize { get; set; } = 10;
    }
}
